added method to add an object position instance to the model