added defrayed functionality