got logic libraries working with code in sandbox