updated protocol title fetching and added type