local handler and parser setup