sampledBefore input now takes relative time.