updated debug and tuple ->list