added DISTINCT to episodes