adjustment

made chages to if statements and givens