Made results into struct