added the methods for this class