Add function that is able to adjust the size