Add status field calculation