add public to naked method definitions. add static as appropriate