adds coffee-mode specific function