Deleted unnecessary code based on new changes.