add function self validation of args hash