First commit; working version of reset-command