basic position logic working