updated to 0.6.5 and add smart.*