My Julia functions (for testing, etc.)