adding support for more like this operation accompanied by unit tests
adding validate operation with unit tests