-Added some time measuring code