added api to be consumed by backbone views