updated cup file. added debug code