removed implementation and declaring accessors by using property