Redundant piece of code removed