added get methods, altered boolean syntax