(+) top-down logic implemented; (+) db logic implemented; (-) debug logging removed