before working on reset
basic functions work