added loop unitl user types -1