logic2 added