modified restriction on 'tryit' input