Autogroup: the 200 lines of codes that makes wonders :)