add parser for callback