added dynamic graphs