graph ploting added