bug fix
conforming relevant variable names
removing test-print statement