+misc
4th commit with pause and reset function