changed hardcoded test values to variables