add Mayer's application logic