added submit checking, still need to find out how to change color