quick fix for passing extra parameter