Saved minor changes, need to figure out the SEQUENCE error