made hierachies flat and added extended_hinton