finished logs/exception handling with partitions