refactor: wrap up the master header