adding correct scope to static private and public methods.