implemented shorter gui generating for ids