removed dependency on simpletime