moved pass to lib