removing graphs stuff