should have fixed the no matching constructor error. just needed a
null check