Split reset up into a seperate file