sample backend implementation