logic1 added