fixed bug, included cpu-timing