Working out extras and save ast info