lib 2 extension