added graph buttons