Added code for enlarging