rm teacup method, added debug output