deleted unnecessary functions