might be getting somewhere with this csv parsing