add method dimension