clean code in SelectInitCommand