commit on 10/14/2014
initial trend view function