resizing + actually getting it to work