adding taking and resizing module