first stab at resize