Better check for dimensions, thanks Zixaphir