debugging main class..