space after while, and size -> length