Added isSize and getSize methods