add time to SAMPLE
fix time bug.
add test file.