added methods to private methods and adjusted names