Added '$'-sign in front of $size variable.