Methods, main method.