Added basic check for string param