add __str__ met to some classes
expand array dynamically