renamed current_frame to next_frame to avoid confusion
current_frame stores the result of the last stringparser run