faster time calculations