Deleted unnecessary functions