added ohlc functions with new samples