added default case for the size switch