Adding captain parsing, but not quite working yet