length variable works