if else for correct and incorrected tested and functional