added logic graphic