ERROR (line 73): called function with wrong type