added simple strLen manually implemented