Helper functions to define positions