added ability to change the size