split parsing up into individual functions
stop using an array to unpack names