fixing the import error and is_holiday function