Deleted unnecesary piece of code