not using validate yet
removing debug