The madness of layered architecture