Better use of class methods