add helper methods to define class behavior