add types of resize