changes from static to public