updated method names, added basic documentation