first.lib to on.attach