cleaning up length vs size