make parameters properties and added comments