changed privacy of methods, fixed reset/delete bug, updated UML