main-example now writen in coffee