make it more fluent
0 to 11 in while -> times
bugfix: while and do have different scope