done a prog. of static method;