Went back to orginial with the error alerts popping up because it messed up the code with the "if()" nested. Still having the error up problem