validation conducted and errors corrected