setting class properties