oops fixed type error I introduced