passing frames through params