main for GaveLogic