code completed with s/o error
length called on nill class