changed frame size back to 1024