adding marking lib from @brian-c