changed static to public