started working on reset functions 4/4/14