restore require, move to first line