change public to static