You are allowed to use methods before grid intialization:
Also, you can run methods after grid intialization