fixing sample syntax