Pull Request Dev_1.0

just a thought po, I think this can be done by the validate() function in model po, it would be simpler if we can utilize this function