modified item creation to radio boxes for element and type