change lib structure