backend legend