add resize command.