simplified formula sequence
removed old formula sequence code