Utility functions for goals page