Finished fix_start function