adding magic setter and getter