emplementation of the object position