added debug and multiruns