updated frame to allow sending masked data