changed data loc for graph