integrate three user case into one map