clarified function arguments