add function for required commands