adding further parameter
added testing