[update]
strlen does not need explicite string conversion