started working on typed groups