Main undebugged