Use samples to represent time