Deleted unnecessary codes and comments