change getter and setter inline
move setter and getter to .h file