loop sample