added pyCheckArgs