logic doc doc