work on multi-frame integration