add main for ci