Moved convenience function to bottom