correcting private methods not used