adds validation of required attributes

Extra blank line detected.