Removed unnecessary bit of code