Rename callback to frameCallback