Passing an int and not a dict, removing debug