better names: id and type are reserved by python