some calculation on oct