added frame size
implement server side (in progress)