changed static to public- that was a mistake