replacing all property setting with "set" method