why does it need to be in the middle of the file? Also, can we encapsulate this, may be have a _init helper of something?