Added knitting machines; separated click functions