functionality to check if they are in the correct spot