set correct acces modifiers