unrealised profit in inventory