updated the start width and height functionality along with another helper method