passing of arguments was wrong