changed scenario to capture all three parameters