add getter and setters. method has a syntax error. working on correction.