created backward graph