Cleaned up get_JW