Fixed up sample 3