Working with objects and prototypesResize