revise privacy of methods