changed interfaces to make institutional inser work