added backend for remaining items badges