woops forgot to return the value after i changed it from print to return