Modified sample with time library