Fixed indentations.
Added validation demo.