pass in lib via mesh