add max5.hpp