added logic module