added setter and getter with values