Start adding logic to process frame.