a custom lib for msc