removed unnecessary bit of code