Bugfix: Error when no pattern is given
Added srounded input() with save/restore