Added simple time measurement