check local variable only
strlen() is better than len() in terms of type
use non mapped 'v' to avoid user mappings