Make offtime a variable