Remove resize function... doesn't work correctly.