Adding position object to repository