add public handler