Functions can't be used in combination with axes, so I'll just need to fix the position() function to work properly.