got rid of uneeded line of code