fixes compiler error, 2nd attempt