updated several methods and added comments