Making coffee work properly in console