Modified one line of code to remove unnecessary information