adding match to object type since it can return an object