implemented basic sample