changed name length variable