debugged coffee stuff