do it also in lib