press 'r' to reset