work on frame/streaming API and compression