Adding A Resize Function