test3 working with resize