made MainFields a singleton