archetypes code merged