use all in lib, restrict to relay in app