format class 3
introduce methods before objects