samples code for everybody