added validator for addresses fixes #17