Child molester receives 20-year sentence