added backend helper functions