adapted version, added branch classifier