added methods to most of the classes