change method to public