Discore utility functions