forgot to uncomment code in sample