DBN for LOGO