added null suffix and corrected time print