Using a frame processor class