added more stuff to resize