did validation wrong, changed it up a bit