added pass, undo buttons