added generic sample