changed a bit the chain operations of h and l