added sharing of frame