changes last n
prog