see https://bitbucket.org/seydar/chitin