now outputs correct timestamp