main functionality of owner has been implemented