style tweaks
back-end validation