modified a constructor var idOwner to ownerId