Made constant work as a method