adds isval var checker
Merge branch 'develop'