edited main for debug