Quick fix by adding return value to function signature