made change to parse name to first and last if passed