now saves Integer (id) and String (type)