removing unnecessary line of code